//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.dstz.bpm.engine.action.handler.task;

import com.dstz.bpm.api.constant.ActionType;
import com.dstz.bpm.api.model.def.NodeProperties;
import com.dstz.bpm.api.model.nodedef.BpmNodeDef;
import com.dstz.bpm.engine.action.cmd.DefualtTaskActionCmd;
import java.util.List;
import org.springframework.stereotype.Component;

@Component
public class TaskReject2StartActionHandler extends TaskRejectActionHandler {
   public TaskReject2StartActionHandler() {
   }

   protected String a(DefualtTaskActionCmd actionModel, NodeProperties nodeProperties) {
      List<BpmNodeDef> nodeDefs = this.a.getStartNodes(actionModel.getDefId());
      if (nodeDefs.size() > 1) {
      }

      return ((BpmNodeDef)nodeDefs.get(0)).getNodeId();
   }

   public ActionType getActionType() {
      return ActionType.REJECT2START;
   }

   public int getSn() {
      return 4;
   }

   public Boolean isDefault() {
      return false;
   }

   public String getConfigPage() {
      return "/bpm/task/taskOpinionDialog.html";
   }
}
